from django.conf.urls import url
from .views import *

urlpatterns =[
    url(r'^list/(?P<category_id>\d+)/(?P<page_num>\d+)/$',ListView.as_view(),name='list'),
    url(r'^hot/(?P<category_id>\d+)/$',HotGoodView.as_view(),name='hot'),
    url(r'^detail/(?P<sku_id>\d+)/$',DetailView.as_view(),name='detail'),
    url(r'^detail/visit/(?P<category_id>\d+)/$',DetailVisitView.as_view()),

]